//
// Created by Liming Shao on 11/3/2017.
//

#ifndef CHAPTER1_A005_H
#define CHAPTER1_A005_H

#include <stack>

class A005 {
public:

    void add(int input);
    int poll();
    int peek();

    void test();

private:
    std::stack<int> stackA;
    std::stack<int> stackB;
};


#endif //CHAPTER1_A005_H
